Method and system for processing image data

ABSTRACT

A method for processing image data and a system thereof are provided. The method is operated in the system including an encoding system and a decoding system. In the decoding system, multiple image data packages are received from the encoding system. The image data packages include multiple encoded data that are formed by encoding the pixels of an image and the pixels are beforehand rearranged according to an arrangement order. The arrangement order is exemplarily made based on the quantity of encoding circuits of the encoding system. In the decoding system, the encoded data received from the encoding system are sequentially stored in a memory according to the arrangement order. The decoding circuits start to decode the encoded data from an initial code synchronously for enhancing decoding performance. The method can be applied to decoding of high resolution images. The image is reproduced after the decoding process.

CROSS-REFERENCE TO RELATED PATENT APPLICATION

This application claims the benefit of priority to Patent ApplicationNo. 201911193380.4, filed on Nov. 28, 2019 in People's Republic ofChina. The entire content of the above identified application isincorporated herein by reference.

Some references, which may include patents, patent applications andvarious publications, may be cited and discussed in the description ofthis disclosure. The citation and/or discussion of such references isprovided merely to clarify the description of the present disclosure andis not an admission that any such reference is “prior art” to thedisclosure described herein. All references cited and discussed in thisspecification are incorporated herein by reference in their entiretiesand to the same extent as if each reference was individuallyincorporated by reference.

FIELD OF THE DISCLOSURE

The disclosure is generally related to a technology of encoding anddecoding image data, and more particularly to a method and a system forprocessing image data for arranging encoded image pixels and decodingthe image according to a specific rule.

BACKGROUND OF THE DISCLOSURE

The technologies of compression and decompression are important area ofresearch in the field of image data storage. When outputting ahigh-resolution video, the data among the output bitstream of a videoare greatly dependent upon each other. The back-end data of thebitstream cannot be processed, e.g., decompression, without firstlyrecognizing the front-end data thereof, especially since the data lengthof the bitstream is not fixed. Therefore, the front-end data should bedecompressed before the back-end data is decompressed. Specifically, thespeed of image data processing cannot be increased by processingsimultaneously different clips of the image data.

In the technology of image compression and decompression, the image datacan be processed with an entropy encoding approach at an encoding endthat creates the image data. The entropy encoding approach or techniqueis an encoding technology that can reduce the amount of data withoutlosing information, i.e., maintaining the quality of the image. Sincethe quantity of bits of each pixel of the image data to be processedwith the entropy encoding approach is not fixed, the output image datashould be decoded pixel-by-pixel in an order at the decoding end. Thedecoding end is such as a video player. The back-end pixels cannot beprocessed until the front-end pixels are processed because the final bitof the pixel cannot be obtained in advance.

Taking the processing of a 4K or 8K high-resolution video as an example,the back-end data can be processed only after the front-end data isprocessed due to the processing circuit having a low clock while playingthe high-resolution video. The limitation of hardware results in thehigh-resolution video being unable to be decompressed in real time. To acertain extent, the low-clock circuit restricts the speed of dataprocessing using an image processing system. The insufficient amount ofdata may result in the video being unstable and flickering.

In the conventional technology, the storage space is required to beincreased when decoding two or more pixels simultaneously. The imagedata may be stored into different storage spaces at the decoding end.Since the data length cannot be recognized in advance, the longeststream of the image data should be stored into a memory in advance,which, however, is wasteful when allocating the resources.

SUMMARY OF THE DISCLOSURE

For solving the problem that a high-resolution video cannot be processedsmoothly due to the limitation of hardware, provided herein is a methodfor processing image data and a system thereof.

In one aspect of the disclosure, the method for processing image data isembodied in a decoding system. The decoding system receives encodedimage data packages from an encoding system. The image data packages arerendered by the encoding system. The encoding system re-arranges thepixels of a video according to an arrangement order, and the re-arrangedpixels are encoded to form a plurality of groups of encoded data. In thedecoding system, the plurality of groups of encoded data are stored to amemory in accordance with the arrangement order. After that, a pluralityof decoding circuits synchronously decode initial codes of the groups ofencoded data so as to output the reproduced video after decoding.

Further, when the decoding system performs a decoding process, it usesthe plurality of decoding circuits to decode the codes with a quantityaccording to the quantity of the image data packages.

Further, in the encoding system, the pixels of the image are orderlynumbered and the arrangement order indicates that the pixels with anumbering interval of the number of the decoding circuits are configuredto be one group so as to from the groups of encoded data after encoding.The groups of encoded data are packaged as the plurality of image datapackages. In one embodiment of the disclosure, the maximum of thementioned quantity is the quantity of the decoding circuits of thedecoding system.

In one embodiment of the disclosure, in the encoding system, accordingto the quantity, e.g., ‘n’, the pixels of the image are arranged as afirst group of pixels to an n^(th) group of pixels according to thearrangement order. The quantity ‘n’ is the quantity of the decodingcircuits of the decoding system to perform the current decoding process.The pixels are encoded as a first group of encoded data to an n^(th)group of encoded data that are packaged as a plurality of image datapackages. The image data packages are transmitted to the decodingsystem. In the decoding system, the first group of encoded data to then^(th) group of encoded data are stored to the memory according to thearrangement order, and the initial code of every one of groups ofencoded data is recorded for synchronously decoding the groups ofencoded data from a high position to a low position.

In one more aspect of the disclosure, the image data processing systemincludes a decoding system that includes a plurality of decodingcircuits. The encoding system performs a decoding process upon the imagedata packages. The plurality of encoded image data packages includemultiple groups of encoded data that are formed by encoding the pixelsof an image in which the pixels are rearranged according to anarrangement order. In the decoding system, the groups of encoded dataare stored to a memory according to an arrangement order while encoding.The plurality of decoding circuits synchronously decode the initialcodes with respect to the encoded data. An image is outputted afterdecoding.

The image data processing system further includes an encoding system. Inthe encoding system, the pixels of the image are numbered in numericalorder. The arrangement order indicates that the pixels with a numberinginterval of the quantity of the decoding circuits are configured to beone group so as to from the groups of encoded data after encoding. Thegroups of encoded data are then packaged as the plurality of image datapackages. According to one embodiment, the maximum of the mentionedquantity is the quantity of the decoding circuits of the decodingsystem.

These and other aspects of the present disclosure will become apparentfrom the following description of the embodiment taken in conjunctionwith the following drawings and their captions, although variations andmodifications therein may be affected without departing from the spiritand scope of the novel concepts of the disclosure.

BRIEF DESCRIPTION OF THE DRAWINGS

The present disclosure will become more fully understood from thefollowing detailed description and accompanying drawings.

FIG. 1 is a schematic diagram depicting a circuit framework of an imagedata processing system in one embodiment of the disclosure;

FIG. 2 is a flow chart describing a method for processing image data inone embodiment of the disclosure;

FIG. 3 is a flow chart describing a decoding process in the method forprocessing image data according to one embodiment of the disclosure;

FIG. 4 is a schematic diagram depicting image data that is arranged inthe method for processing image data in one embodiment of thedisclosure;

FIG. 5 is a schematic diagram depicting arrangement of image data in themethod according to one embodiment of the disclosure;

FIG. 6 shows a flow chart describing the method for processing imagedata in one embodiment of the disclosure; and

FIG. 7 shows one further flow chart describing the method for processingimage data in one further embodiment of the disclosure.

DETAILED DESCRIPTION OF THE EXEMPLARY EMBODIMENTS

The present disclosure is more particularly described in the followingexamples that are intended as illustrative only since numerousmodifications and variations therein will be apparent to those skilledin the art. Like numbers in the drawings indicate like componentsthroughout the views. As used in the description herein and throughoutthe claims that follow, unless the context clearly dictates otherwise,the meaning of “a”, “an”, and “the” includes plural reference, and themeaning of “in” includes “in” and “on”. Titles or subtitles can be usedherein for the convenience of a reader, which shall have no influence onthe scope of the present disclosure.

The terms used herein generally have their ordinary meanings in the art.In the case of conflict, the present document, including any definitionsgiven herein, will prevail. The same thing can be expressed in more thanone way. Alternative language and synonyms can be used for any term(s)discussed herein, and no special significance is to be placed uponwhether a term is elaborated or discussed herein. A recital of one ormore synonyms does not exclude the use of other synonyms. The use ofexamples anywhere in this specification including examples of any termsis illustrative only, and in no way limits the scope and meaning of thepresent disclosure or of any exemplified term. Likewise, the presentdisclosure is not limited to various embodiments given herein. Numberingterms such as “first”, “second” or “third” can be used to describevarious components, signals or the like, which are for distinguishingone component/signal from another one only, and are not intended to, norshould be construed to impose any substantive limitations on thecomponents, signals or the like.

In the technology of image compression and decompression, if imagequality is taken into account, an encoding end for forming the imagedata performs a lossless encoding process, namely entropy encoding.Since the quantity of bits of every pixel in the image data that isprocessed with entropy encoding may not be fixed, it is difficult for adecoding end to anticipate the length of a bitstream and the last bit.Thus, the following pixel cannot be processed if the preceding pixel hasnot been processed yet. Further, a high-resolution video may not bedecompressed and played smoothly under the hardware having limitedprocessing power. The conventional technology achieves the purpose ofdecoding two pixels simultaneously by adding storage space.

However, in view of the issues associated with conventional decodingtechnology for high-resolution videos, provided herein is a method forprocessing image data and a system that re-arranges the image pixelswhen performing an encoding process. A coding order of the pixels can bechanged when the image pixels are re-arranged. On the other hand, aprocessing circuit of the system can decode two or more pixelssimultaneously without acquiring the length of the bitstream of theencoded pixels in advance. Therefore, the image processing speed can beeffectively doubled or be faster. The image data can be processed (i.e.,decoding) smoothly even with limited hardware processing power.

FIG. 1 is a schematic diagram depicting the system for processing imagedata according to one embodiment of the disclosure. An image dataprocessing system 10 implements a decoding system. The decoding system100 is applied to a computer device or an integrated circuit (IC). Thedecoding system 100 receives encoded image data 108 from an encodingsystem 110. The image data 108 is encoded according to a specificencoding format. The decoding system 100 performs the method forprocessing image data in one embodiment of the disclosure.

In the encoding system 110, for example, the pixels of a video frame orsome blocks are separated into odd pixels and even pixels respectivelyaccording to their numbers. The odd pixels and the even pixels areencoded into two image data packages. The pixels are processed by alossless encoding process for forming a variable length encoded datathat can be separated into a first group of encoded data and a secondgroup of encoded data. After that, the first group of encoded data andthe second group of encoded data are transmitted to the decoding system100.

According to the above description, the image data processing system 10includes the decoding system 100 and the encoding system 110. The maincomponents of the decoding system 100 include a processing unit 101. Theprocessing unit 101 is such as a processor that is configured to processimages. The processing unit 10 can be a digital signal processor or acentral processing unit that is used for decoding the image data. Theprocessing unit 101 of the decoding system 100 can include two groups ofdecoding circuits that allow the encoding system 110 to place the imageinto the first group of encoded data or the second group of encodeddata. The first group of encoded data can be the odd image data packageand the second group of encoded data can be the even image data package.The first decoding circuit 1011 and the second decoding circuit 1012 candecode the first group of encoded data and the second group of encodeddata at the same time.

According to the embodiment of the disclosure, the processing unit 101of the decoding system 100 is configured to have multiple decodingcircuits according to the design requirement. As shown in the diagram, afirst decoding circuit 1011 and a second decoding circuit 1012 areincluded. The quantity of the decoding circuits is not limited to theexemplary example. However, the quantity of the encoded data of theimage data packages generated by the encoding system 110 may not exceedthe quantity of the decoding circuits of the decoding system 100. Themaximum of the quantity of the encoded data is the quantity of thedecoding circuits of the decoding system 100.

Further, the decoding system 100 receives the image data 108 from thedecoding circuits via a data interface 105. The image data 108 can bethe image data packages in which the pixels are encoded according to anarrangement order. The decoding system 100 arranges the image data 108to a memory unit 103 based on the arrangement order. The memory unit 103can be any type of memory of the decoding system 100. When theprocessing unit 101 performs the decoding process, the encoded data tobe arranged is retrieved from the memory unit 103. The processing unit101 performs the encoding process and then reproduces the image. Theoutput image is transmitted to a display system 107 for displaying.

In one embodiment of the disclosure, when the encoding system 110performs an encoding process upon an image such as a video frame, it isnot necessary to process the entire image at once with the encodingprocess, but to process image blocks divided from the image one by oneaccording to conditions of hardware, software or specific requirements.When encoding, the pixels of the selected image blocks are numberedorderly (i.e., 1, 2, 3, etc.), and are grouped according to anarrangement order. It should be noted that the pixels are grouped into anumber of groups which is the same in number as or not more than thequantity of the decoding circuits of the decoding system 100. Forexample, the orderly-numbered pixels whose numbers are with an intervalthe same with the quantity of the decoding circuits are grouped into onegroup.

The grouped pixels are encoded as multiple groups of encoded data. Thegroups of encoded data are packaged to form multiple image data packageswhich are shown as the image data 108.

FIG. 2 shows a flow chart describing an encoding process in a method forprocessing image data according to one embodiment of the disclosure.

In step S201, in an encoding system, an encoding pattern and a region ofan image to be encoded are firstly decided. After that, in step S203,the pixels of the region are arranged according to the configuration ofdecoding circuits. The quantity of the decoding circuits acts as a mainreference to arrange the pixels of the image. For example, if thequantity of the decoding circuits is ‘n’, the pixels are grouped into‘n’ or smaller number of groups based on the pixel numbers. For allowinga decoding system to decode the encoded data with double or highersynchronous decoding performance, the pixels should be arrangedaccording to an arrangement order. The performance being achieveddepends on the capacity and quantity of the decoding circuits. Forexample, the pixels whose numbers are with an interval of ‘n’ or smallernumber than the quantity (i.e., ‘n’) of the decoding circuits aregrouped into one group. In step S205, an encoding format is decided. Anencoding process starts in step S207 in order to encode the multiplegroups of pixels into multiple groups of encode data. The multiplegroups of encoded data are packaged to form multiple image datapackages, such as in step S209.

FIG. 3 shows a flow chart describing a decoding process in the methodfor processing image data in one embodiment of the disclosure.

In the beginning, such as in step S301, the decoding system in an imagedata processing system receives two or more (i.e., ‘n’ or smallerquantity) image data packages. These image data packages may cover animage or a portion of an image. The quantity of the image data packagesis decided based on the quantity of decoding circuits of the decodingsystem of the image data processing system. The multiple image datapackages include the encoded data covering an entire image or a portionof the image. The image data packages can be formed by encoding thepixels that are grouped according to the arrangement order. The numberand an encoding format of the image data packages should be incompliance with configuration of the decoding system.

When the decoding system receives the image data packages, the encodeddata of the image data packages are arranged into a memory according toa configuration of the memory. Such as in step S303, the encoded dataare arranged according to the arrangement order. The initial code suchas a header of every group of encoded data is arranged at an address ofthe memory that is the address configured for the start of a decodingprocess. For example, a starting address or an ending address of thememory can be the address where the decoding process starts. The restencoded data is arranged in an order. After the arrangement according tothe arrangement order, the arranged encoded data is then stored to thememory of the image data processing system, such as in step S305. Afterthat, the decoding circuits of the decoding system retrieve the encodeddata from multiple addresses where start the decoding process in thememory. Each of the decoding circuits then starts decoding the retrieveddata. The multiple decoding circuits can decode the pixels synchronouslysince the quantity of the decoding circuits corresponds to the quantityof the image data packages. In step S307, the image can be reproducedfrom the pixels according to the pixel numbers. The method forprocessing image data achieves that the image data can be decodedquickly even though the decoding system has a limited hardwareprocessing capability and the pixel encoding length cannot beacknowledged in advance.

Before performing the method for processing image data, the image may beprocessed with a fixed compression ratio or a lossless compressionmethod when the encoding system performs the encoding process. It shouldbe noted that a storage space can be well configured for storing theencoded image data in the encoding process with a fixed compressionratio if the image resolution is given. In another case, if the imageresolution is also given, the storage space required to store the entireencoded image can also be estimated even if the encoding process usesthe lossless compression method.

Thus, no matter whether the encoding process is performed with acompression ratio or a lossless compression method, the data stream ofthe multiple image data packages are filled into the memory from itsstarting address (e.g., the left side of the diagram of FIG. 4) andending address (the right side of the diagram of FIG. 4), respectively,and approaches the middle of the memory if the storage space required tostore the image data can be obtained in advance.

Reference is made to FIG. 4 which shows a schematic diagram depictingthe arrangement of image data in the method according to one embodimentof the disclosure, and reference is also made to FIG. 6 that exemplarilydescribes a process for processing the image.

In step S601 of FIG. 6, in view of FIG. 4, the decoding system receivesa first group of encoded data 41 and a second group of encoded data 42.In step S603 of FIG. 6, according to an arrangement order, the groups ofencoded data (41, 42) are arranged from a high position to a lowposition respectively. As shown in the diagram, the encoded data of thetwo image data packages are re-arranged to a memory from a startingposition and an ending positon respectively, and approaching the middleor center position of the memory.

The first group of encoded data 41 includes a header A0 and thesubsequent data A1 to A4. The second group of encoded data 42 includes areserved header B0 and the subsequent data B1 to B4. The diagramschematically shows the data arranged in an order and also shows astorage space that can store the image data in numerical order. Thestorage space can be implemented by a series of memory blocks of amemory unit (e.g., memory unit 103 of FIG. 1) of a decoding system. Thememory blocks are used for storing the encoded image data. The methodfor processing image data of the disclosure performs a decoding processupon the encoded image data.

Further, one image data package may only include one header A0, and thereserved header B0 can be ignored. The header records an encoding formatwith respect to the image data package, quantity of image data packagesof an image and a decoding method. The header also records an order ofthe pixels of the image and a decoding order of every image datapackage. The decoding order corresponds to the arrangement of the pixelsto be encoded.

In the present example, data stream of the first group of encoded data41 is orderly arranged from left to right. The beginning of the firstgroup of encoded data includes a header A0 at the starting position(i.e., the leftmost address). In an exemplary example, the data A1 to A4are filled into the memory in numerical order. The data stream of thefirst group of encoded data 41 is filled into the memory from theleftmost position that is configured to be a highest position to theright, i.e., the low position. The data A1 to A4 represent the imagedata, and the pixels therein are processed with a lossless encodingprocess. The data A1 to A4 may denote a variable length encoded dataafter performing an entropy encoding process upon the pixels of theimage data package.

On the other hand, the rightmost positon of the memory can be used tostore a reserved header B0 (ignorable) that is used to recordinformation of an image compression format. The right side is set as ahigh position. The rest data B1 to B4 of the second group of encodeddata 42 are then stored from the ending position (i.e., the highposition) to the left (i.e., the low position). The data B1 to B4 denoteanother variable length encoded data after performing entropy encodingprocess upon the pixels of the image data package.

The data A1 to A4 of the first group of encoded data 41 and the data B1to B4 of the second group of encoded data 42 represent the data that isgenerated from the pixels undergoing the lossless encoding process.After performing the lossless encoding process, the length of theencoded pixel is not fixed. As shown in the diagram, the lengths of datablocks are different.

Next, such as in step S605 of FIG. 6, the arranged encoded data aretemporarily stored in the memory of the decoding system. For example,the two groups of encoded data are provided to the decoding circuits todecode according to the arrangement order. Referring to the embodimentshown in FIG. 4, the first group of encoded data 41 and the second groupof encoded data 42 are stored to the memory according to the arrangementorder. The decoding circuits start to decode the data from the initialcodes with respect to the two groups of encoded data.

In the memory of the decoding system, the memory address of the initialcode of the first group of encoded data 41 is at the left of the storagespace. Aside from the header A0, the data A1 to A4 are orderly stored tothe memory. Specifically, the data A1 to A4 are filled in the memoryfrom the leftmost side and the memory position with respect to the leftend of data A1 is configured to be the Most Significant Bit (MSB), andthe memory position with respect to the right end of data A1 is theLeast Significant Bit (LSB). The first group of encoded data 41 isfilled in the memory from MSB to LSB. The direction of decoding processis also from MSB to LSB.

Similarly, the second group of encoded data 42 is stored from itsinitial code that is also decoded at first. Besides the reserved headerB0, the data B1 to B4 of the second group of encoded data 42 denote theencoded data undergoing the lossless encoding process. The second groupof encoded data 42 is stored to the memory from right side to the left.The memory position with respect to the right end of data B1 isconfigured to be MSB, and the memory positon with respect to the leftend of data B1 is LSB. The second group of encoded data 42 is filled tothe memory from MSB to LSB. The direction of decoding process is alsofrom MSB to LSB.

In the encoding system, the arranged pixels of the image are dividedinto two groups such as the abovementioned first group of pixels thatincludes the pixels numbered with odd numbers and the second group ofpixels that includes the pixels numbered with even numbers. In thedecoding system, the decoding process is performed upon the plurality ofimage data packages with the same quantity of decoding circuits. Themaximum of the number is the quantity of the decoding circuits of thedecoding system. In step S607 of FIG. 6, two decoding circuits decodethe data retrieved from the starting address and the ending address ofthe memory respectively. The decoding system includes a first decodingcircuit that is used to decode the first group of encoded data from thestarting address of the memory, and a second decoding circuit that isused to decode the second group of encoded data from the ending addressof the memory, such as in step S609 of FIG. 6. The image is reproducedand outputted after the decoding process, such as in step S611 of FIG.6.

Reference is next made to FIG. 7 which shows a flow chart describing themethod for processing image data in one embodiment of the disclosure.

According to the description of above embodiments, in the encodingsystem, the pixels of image are re-arranged for forming a first group ofpixels to n^(th) group of pixels according to an arrangement order witha preset number (i.e., ‘n’). The number ‘n’ can be the quantity of thedecoding circuits used in the decoding system, but the quantity ofdecoding circuits is not limited in the present disclosure. The pixelsare encoded by the encoding system so as to form the first group ofencoded data to n^(th) group of encoded data. The groups of encoded dataare packaged into multiple image data packages that are provided to thedecoding system. When transmitting the image data packages to thedecoding system, the first group of encoded data to the n^(th) group ofencoded data are stored to the memory according to an arrangement order,such as in step S701 of FIG. 7.

As shown in FIG. 5, the arrangement of image data in the methodaccording to one further embodiment is disclosed. The image data isencoded by the encoding system for forming four groups of encoded data.Therefore, the decoding system needs four decoding circuits to decodethe four groups of encoded data synchronously. The four groups ofencoded data shown in the figure denote the encode data formed byencoding the pixels that are re-arranged according to the arrangementorder. The four groups of encoded data include a first group of encodeddata 41 that includes a header A0 and data A1, A2, A3 and A4, a secondgroup of encoded data 42 that includes a reserved header B0 and data B1,B2, B3 and B4, a third group of encoded data 43 that includes a reservedheader C0 and data C1, C2, C3 and C4, and a fourth group of encoded data44 that includes a reserved header D0 and data D1, D2, D3 and D4.

In step S703 of FIG. 7, the decoding system receives the first group ofencoded data to n^(th) group of encoded data. The decoding system relieson the arrangement order to store the groups of encoded data to thememory. The decoding system records the initial codes with respect tothe groups of encoded data after re-arranging the data in the memory. Instep S705, the memory address for storing the initial codes are thepositions of the headers with respect to the groups of encoded data.

FIG. 5 also shows a schematic diagram depicting four groups of encodeddata. For obtaining continuous pixels, the encoded data should bedecoded orderly in the decoding process. In the encoding system, thepixels of image are numbered orderly. The pixels are then re-arrangedaccording to the arrangement order. For example, the pixels whosenumbers are with an interval of a specific number (e.g., 4 that is thesame or smaller number of the decoding circuits) are grouped into onegroup. After encoding the grouped pixels, the multiple groups of encodeddata are formed. The present example shows that the pixels of the firstgroup of encoded data 41 are numbered with 1, 5, 9, 13, etc., the pixelsof the second group of encoded data 42 are numbered with 2, 6, 10, 14,etc., the pixels of the third group of encoded data 43 are numbered with3, 7, 11, 15, etc., and the pixels of the fourth group of encoded data44 are numbered with 4, 8, 12, 16, etc.

Next, in step 707, the decoding system synchronously decodes the groupsof encoded data from their initial codes, e.g., the headers at the highposition, to the low positions. An image is reproduced by the decodingprocess and outputted, such as in step S709.

In conclusion, according to the above description, the conventionaldecoding system may not acknowledge the length of every image pixel thatis processed with an entropy encoding process, cannot handle thehigh-resolution image due to the hardware limitation, or cannot decodethe pixels within any present time, e.g., a clock cycle. Therefore, theconventional system may suffer in terms of being unable to satisfy timeconstraints, since it has not enough time to decode the current pixel asthe next pixel enters. The method for processing image data in thepresent disclosure provides a solution that the pixels of image aredivided into two or more groups at the decoding end based on theconfiguration of the decoding system. The system successfully allows thehardware with lower processing power, e.g., a lower clock processor, toprocess a high-resolution image, for example, to decode a 4K or 8Kstatic image or video.

The foregoing description of the exemplary embodiments of the disclosurehas been presented only for the purposes of illustration and descriptionand is not intended to be exhaustive or to limit the disclosure to theprecise forms disclosed. Many modifications and variations are possiblein light of the above teaching.

The embodiments were chosen and described in order to explain theprinciples of the disclosure and their practical application so as toenable others skilled in the art to utilize the disclosure and variousembodiments and with various modifications as are suited to theparticular use contemplated. Alternative embodiments will becomeapparent to those skilled in the art to which the present disclosurepertains without departing from its spirit and scope.

What is claimed is:
 1. A method for processing image data, comprising:receiving by a decoding system a plurality of encoded image datapackages from an encoding system, the plurality of encoded image datapackages including multiple groups of encoded data that are formed byencoding the pixels of an image in which the pixels are rearrangedaccording to an arrangement order; storing by the decoding system thegroups of encoded data to a memory according to the arrangement order;synchronously encoding an initial code of every one of the groups ofencoded data; and outputting the image after the initial code of everyone of the groups of encoded data is encoded.
 2. The method according toclaim 1, wherein the decoding system performs decoding upon theplurality of image data packages with decoding circuits of the samequantity.
 3. The method according to claim 2, wherein, in the encodingsystem, the pixels of the image are numbered in numerical order and thearrangement order indicates that the pixels with a numbering interval ofthe quantity of the decoding circuits are configured to be one group soas to form the groups of encoded data after encoding; and the groups ofencoded data are packaged as the plurality of image data packages. 4.The method according to claim 3, wherein a maximum of the numberinginterval is the quantity of the decoding circuits of the decodingsystem.
 5. The method according to claim 3, wherein, in the encodingsystem, according to the quantity, the pixels of the image form a firstgroup to an n^(th) group of pixels according to the arrangement order,wherein n is the quantity of decoding circuits; the first group ofencoded data to the n^(th) group of encoded data are packaged as theplurality of image data packages that are transmitted to the decodingsystem; in the decoding system, the first group of encoded data to then^(th) group of encoded data are stored to the memory according to thearrangement order, and the initial code of every group of encoded datais recorded for synchronously decoding the groups of encoded data from ahigh position to a low position.
 6. The method according to claim 5,wherein the initial code of every group of encoded data is a header or areserved header formed by encoding the group of encoded data.
 7. Themethod according to claim 5, wherein, in the encoding system, the firstgroup of pixels of the image are arranged according to the arrangementorder and encoded to be the first group of encoded data; and the secondgroup of pixels of the image are arranged according to the arrangementorder and encoded to be the second group of encoded data.
 8. The methodaccording to claim 7, wherein, in the decoding system, starting with theinitial code of the first group of encoded data, the first group ofencoded data are filled into the memory from a high position at abeginning of the memory to a low position; and starting with the initialcode of the second group of encoded data, the second group of encodeddata are filled into the memory from a high position at an end of thememory to a low position; and the encoded data are decodedsimultaneously from both the beginning and the end.
 9. The methodaccording to claim 8, wherein the decoding system includes a firstdecoding circuit used to decode the first group of encoded data from thebeginning of the memory; and a second decoding circuit used to decodethe second group of encoded data from the end of the memory.
 10. Themethod according to claim 7, wherein the first group of pixels are thepixels numbered with odd numbers and the second group of pixels are thepixels numbered with even numbers.
 11. An image data processing system,comprising: a decoding system including a plurality of decoding circuitsthat perform the steps of: receiving a plurality of image data packagesthat include multiple groups of encoded data that are formed by encodingthe pixels of an image, in which the pixels are rearranged according toan arrangement order; storing the groups of encoded data to a memoryaccording to the arrangement order; synchronously encoding an initialcode of every one of groups of encoded data; and outputting the imageafter the initial code of every one of groups of encoded data isencoded.
 12. The system according to claim 11, wherein the decodingsystem performs decoding upon the plurality of image data packages withdecoding circuits of the same quantity.
 13. The system according toclaim 12, further comprising an encoding system, in the encoding system,the pixels of the image are numbered in numerical order and thearrangement order indicates that the pixels with a numbering interval ofthe quantity of the decoding circuits are configured to be one group soas to form the groups of encoded data after encoding; and the groups ofencoded data are packaged as the plurality of image data packages. 14.The system according to claim 13, wherein a maximum of the number is thequantity of the decoding circuits of the decoding system.
 15. The systemaccording to claim 13, wherein, in the encoding system, according to thequantity, the pixels of the image form a first group to a n^(th) groupof pixels according to the arrangement order wherein n is the quantityof decoding circuits; the first group of encoded data to the n^(th)group of encoded data are packaged as the plurality of image datapackages that are transmitted to the decoding system; in the decodingsystem, the first group of encoded data to the n^(th) group of encodeddata are stored to the memory according to the arrangement order, andthe initial code of every group of encoded data is recorded forsynchronously decoding the groups of encoded data from a high positionto a low position.
 16. The system according to claim 15, wherein, in thedecoding system, starting with the initial code of the first group ofencoded data, the first group of encoded data are filled into the memoryfrom a high position in a beginning of the memory to a low position; andstarting with the initial code of the second group of encoded data, thesecond group of encoded data are filled into the memory from a highposition at an end of the memory to a low position; and the encoded dataare decoded simultaneously from both the beginning and the end.
 17. Thesystem according to claim 16, wherein the decoding system includes afirst decoding circuit used to decode the first group of encoded datafrom the beginning of the memory; and a second decoding circuit used todecode the second group of encoded data from the end of the memory. 18.The system according to claim 16, wherein the first group of pixels arethe pixels numbered with odd numbers and the second group of pixels arethe pixels numbered with even numbers.